﻿# hello world.py



filename = "1.csv"

lists = []

for line in open(filename):
	fields = line.split(",")  	# 将每行划分为一个列表
	name = fields[0]
	shares = float(fields[1])
	price = int(fields[2])
	stock = (name,shares,price) #创建一个元组(name,shares,price)
	lists.append(stock)

#
#print lists[0]
#print lists[1]
#
	
for list in lists:
	print list








